﻿	<div class="page-header">
		<h1>
			<small>
				<i class="icon-double-angle-right"></i>转盘管理</small>
		</h1>
	</div><!-- /.page-header -->
	<div class="page-content">
	<div class="row"><button class="btn btn-info btn-xs" id="awardlogBtn">抽奖结果查询</button></div>
	<div class="row">
			<div class="col-xs-12">
				<!-- PAGE CONTENT BEGINS -->
				<div class="row">
					<div class="col-xs-12">
						<div class="table-responsive">
							<table id="sample-table-1" class="table table-striped table-bordered table-hover">
								<thead>
									<tr>
										<th>名称</th>
										<th>比例</th>
										<th>最大角度</th>
										<th>最小角度</th>
										<th>描述</th>
										<th class="hidden-480"></th>

									</tr>
								</thead>

								<tbody>
									<#if result.status==1&&result.data??>
									
									<#list result.data as a>
									<tr>
										<td>${a.name!''}</td>
										<td>${a.rate!''}</td>
										<td>${a.maxAngle!''}</td>
										<td>${a.minAngle!''}</td>
										<td>${a.description!''}</td>
										<td><button class="btn btn-warning btn-xs"  name="lottery_modify_btn" data-id="${a.id!''}"><i class="icon-trash bigger-120"></i>修改</button></td>
									</tr>
									</#list>
									</#if>
								</tbody>
							</table>
						</div><!-- /.table-responsive -->
					</div><!-- /span -->
				</div><!-- /row -->
			</div><!-- /.col -->
		</div><!-- /.row -->
		<div class="modal fade" id="lottery_modify_dialog" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		  
		</div><!-- /.modal -->
	</div>
	<script src="/js/admin/award/lottery.js"></script>
	<script>
	  $(function(){
		  LotteryManaged.init();
	  })
	</script>